// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:03


// Source File Name:   m3.java

package com.zelix;

import java.awt.*;
import java.awt.event.*;
import java.io.IOException;
import java.util.EventObject;
import javax.swing.*;
import javax.swing.text.JTextComponent;


//            a3, eo, zo, to, 
//            yw, k4, zz, q4, 
//            j0, tb

public final class m3 extends a3
    implements eo, ActionListener, KeyListener
{

    JFrame f;
    yw g;
    k4 h;
    JEditorPane i;
    JButton j;
    JButton k;
    JButton l;
    boolean m;
    static String n = z(z("=\bEo@4\025C\005K$\017|QM$\t\001\013\002bQ\020UH9\017{VE~\025DH\024`ZFY@>1ET\007<\004ML\024`ZFY@>1ET\007\"\bLP]m\002DV]1\bE][~\023B_A$ZFY@>1ET\0072\016_LF=\\HWG$\000BVL\"OIW]$\016F\025K$\017c]@7\t_\025\030`ZILG\007\bOLAm\fJ@\001 \023NN@?\024Xz]>OO]O1\024GL~9\005_P\005p\016@z]>OO]O1\024GL~9\005_P\005p\002JVJ5\riLG~\005N^H%\r_o@4\025C\021\0222\025EpL9\006CL\024=\000S\020Y\"\004]QF%\022iLG~\005N^H%\r_pL9\006CL\005p\016@z]>OO]O1\024GLa5\bLP]|AHYG3\004Gz]>OO]O1\024GLa5\bLP]yZ[JL&\bDMZ\022\025E\026^9\005_P\0242\025Eo@4\025C\003Y\"\004]QF%\022iLG~\tNQN8\025\026Z]>)NQN8\025\020H[5\027BW\\##_V\007$\016[\005D1\bEhG<OIW]$\016F\023\034k\021Y]_9\016^Kk$\017\005[L>\025NJqm\002DV]1\bE][~\026B\\]8K\032\016\006aQ\033\003F;#_V\007'\bOLAm\003_V~9\005_P\022?\niLG~\tNQN8\025\026Z]>)NQN8\025\020WB\022\025E\026]?\021\026H[5\027BW\\##_V\007$\016[\003F;#_V\0073\004ELL\"9\026[F>\025JQG5\023\005O@4\025C\022\034`N\032\b\031k\002JVJ5\riLG~\026B\\]8\\ILG\007\bOLAk\002JVJ5\riLG~\tNQN8\025\026Z]>)NQN8\025\020[H>\002NTk$\017\005LF \\[JL&\bDMZ\022\025E\026]?\021\020[H>\002NTk$\017\005[L>\025NJqm\002DV]1\bE][~\026B\\]8K\023\f\006aQ\033\003"));
    static String o[];
    private static String z[];

    public m3(JFrame jframe, String s, String s1, String s2, String s3, int i1, int j1, 
            yw yw1)
    {
        super(jframe, s, s1, s2, s3, new Integer(i1), new Integer(j1));
        f = jframe;
        g = yw1;
        g();
        zz.b(k);
    }

    public void actionPerformed(ActionEvent actionevent)
    {
label0:
        {
            boolean flag = tb.b;
            Object obj = actionevent.getSource();
            if(obj == j)
            {
                j();
                if(!flag)
                    break label0;
            }
            if(obj == k)
            {
                i();
                if(!flag)
                    break label0;
            }
            if(obj == l)
                f();
        }
    }

    protected void f()
    {
        m = true;
        a();
        g.a();
    }

    public void a()
    {
        super.a();
        if(!m)
            g.a();
    }

    public void h()
    {
        zz.b(k);
    }

    public void keyPressed(KeyEvent keyevent)
    {
label0:
        {
            boolean flag = tb.b;
            if(keyevent.getKeyCode() != 10)
                break label0;
            if(keyevent.getSource() == j)
            {
                j();
                if(!flag)
                    break label0;
            }
            if(keyevent.getSource() == k)
            {
                i();
                if(!flag)
                    break label0;
            }
            if(keyevent.getSource() == l)
                f();
        }
    }

    public void keyReleased(KeyEvent keyevent)
    {
    }

    public void keyTyped(KeyEvent keyevent)
    {
    }

    void i()
    {
        m = true;
        a();
        g.a(new Integer(1));
    }

    void j()
    {
        m = true;
        a();
        g.a(new Integer(2));
    }

    protected void a(Object obj, Object obj1, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6)
    {
        String s = (String)obj;
        String s1 = (String)obj1;
        String s2 = (String)obj2;
        int i1 = ((Integer)obj3).intValue();
        int j1 = ((Integer)obj4).intValue();
        Container container = getContentPane();
        j0 j0_1 = new j0(container);
        container.setLayout(j0_1);
        j = new JButton(z[4]);
        j.setToolTipText(to.b(to.V));
        k = new JButton(s);
        k.setToolTipText(s1);
        l = new JButton(z[7]);
        l.setToolTipText(to.b(to.Z));
        j.addActionListener(this);
        k.addActionListener(this);
        l.addActionListener(this);
        j.addKeyListener(this);
        k.addKeyListener(this);
        l.addKeyListener(this);
        container.add(j, z[1]);
        container.add(k, z[3]);
        container.add(l, z[6]);
        h = new k4(false);
        container.add(h, z[0]);
        j0_1.e(n + z[5] + i1 + z[2] + j1 + ";");
        b(s2);
        setIconImage(zo.a(this));
        zz.a(this);
    }

    void b(String s)
    {
        h.setLayout(new BorderLayout());
        i = null;
        i = new JEditorPane();
        i.setEditable(false);
        try
        {
            i.setPage(to.c(s));
        }
        catch(IOException ioexception)
        {
            i.setText(ioexception.toString());
        }
        h.add(new q4(i), z[8]);
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x29;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x50;
                    break;
                case 1:
                    key = 97;
                    break;
                case 2:
                    key = 43;
                    break;
                case 3:
                    key = 56;
                    break;
                default:
                    key = 41;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        String as[] = new String[9];
        as[0] = z(z("=\000BVy>\r"));
        as[1] = z(z(" \023NN@?\024Xz]>"));
        as[2] = z(z("yZGYP?\024_\026A5\bLP]m"));
        as[3] = z(z("?\niLG"));
        as[4] = z(z("\000\023NN@?\024X"));
        as[5] = z(z("<\000RW\\$OFQG\007\bOLAm\fBV~9\005_P\022<\000RW\\$O\\QM$\t\026UH(IFQG\007\bOLA|"));
        as[6] = z(z("3\000E[L<#_V"));
        as[7] = z(z("\023\000E[L<"));
        as[8] = z(z("\023\004ELL\""));
        z = as;
        String as1[] = new String[4];
        as1[0] = z(z("=\004XKH7\004jJL1O_WYmT"));
        as1[1] = z(z("=\004XKH7\004jJL1OG]O$\\\036"));
        as1[2] = z(z("=\004XKH7\004jJL1OYQN8\025\026[F>\025JQG5\023\005O@4\025C\025\034"));
        as1[3] = z(z("=\004XKH7\004jJL1OIW]$\016F\005J?\017_Y@>\004Y\026K?\025_WD"));
        o = as1;
    }
}